package cn.hs.service;

import cn.hs.entity.Articletype;
import cn.hs.entity.Chargetype;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author Jovan Hou 2024/10/24
 **/
public interface ChargeTypeService
{
    public int insert(Chargetype chargetype);

    //删除数据
    public int deleteById(Integer id);

    //改数据
    public int update(Chargetype chargetype);

    //查询数据
    PageInfo findAll(Integer pageNum, Integer pageSize, Chargetype chargetype);

    PageInfo findbyForignId(Integer pageNum, Integer pageSize, Integer id);

   List<Chargetype> selectByconsultid(Long consultid);
}
